package com.effective;

import java.util.AbstractList;
import java.util.AbstractSet;
import java.util.Iterator;

public class OwnList {
	private InnerList1 il1;
	private InnerList2 il2;
	private class InnerList1 extends AbstractList<String>{

		@Override
		public String get(int index) {
			return null;
		}

		@Override
		public int size() {
			return 0;
		}
		
	}
	private class InnerList2 extends AbstractSet<String>{

		@Override
		public Iterator<String> iterator() {
			return null;
		}

		@Override
		public int size() {
			return 0;
		}
	}
	
	public String get(int i) {
		return il1.get(i);
	}
	
	public int size() {
		return il2.size();
	}
}
